package com.bilgeadam.swing.model;

/**
 *
 * @author Bora SAYINER
 * @since Dec 20, 2014 12:57:56 PM
 * @version 1.0
 */
public class DbModel implements GenericModel {

	private static final String USER_NAME = "username";
	private static final String PASSWORD = "1234";

	@Override
	public boolean validateUser(String userName, String password) {
		boolean result = false;
		if (userName.equals(USER_NAME) && password.equals(PASSWORD)) {
			result = true;
		}
		return result;
	}

}
